package anasazi;

import repast.simphony.space.continuous.ContinuousSpace;
import repast.simphony.space.continuous.NdPoint;
import repast.simphony.space.grid.Grid;
import repast.simphony.space.grid.GridPoint;

public class Farm {

	public int baseYield;
	public int ocfarm;
	private Grid<Object> grid; 
	private ContinuousSpace<Object> space;
	
	public Farm(int baseyield){
		this.baseYield = baseyield; 
		this.ocfarm = 0; 
	}
	
	public int getBaseYield(){
		return this.baseYield;
	}		
	
	public NdPoint getLocation(){				
		return this.space.getLocation(this);
	}
	
	public void occupyFarm(){
		this.ocfarm = 1; 
	}		
	
}
